<ui:composition xmlns:h="http://java.sun.com/jsf/html"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.prime.com.tr/ui">
	<p:dialog closeOnEscape="true" header="#{msgs.referenceTable}" id="dialogReferenceTable" modal="true" resizable="false" widgetVar="dialogReferenceTableVar" width="600">
		<h:form id="referenceTableForm">
			<p:outputPanel layout="block" styleClass="infoMessage marginLogin">
				<h:outputText value="#{msgs.intermediateValuesUsedWhenCompromiseNecessary}." />
			</p:outputPanel>
			<p:outputPanel layout="block" styleClass="infoMessage marginLogin">
				<h:outputText value="#{msgs.reverseExplanation}." />
			</p:outputPanel>
			<p:dataTable emptyMessage="#{msgs.emptyDataTableMessage}" paginator="false" value="#{analyticalPrioritizationController.referenceTable}" var="tuple">
				<p:column headerText="#{msgs.relativeIntensity}" styleClass="center">
					<h:outputText value="#{tuple.relativeIntensity}" />
				</p:column>
				<p:column headerText="#{msgs.definition}" styleClass="center">
					<h:outputText value="#{tuple.definition}"/>
				</p:column>
				<p:column headerText="#{msgs.explanation}" styleClass="center">
					<h:outputText value="#{tuple.details}" />
				</p:column>
			</p:dataTable>
			<p:outputPanel layout="block" styleClass="buttonContainer center">
				<p:commandButton alt="#{msgs.close}" image="ui-icon ui-icon-close" onclick="dialogReferenceTableVar.hide()" title="#{msgs.close}" type="button" value="#{msgs.close}" />
			</p:outputPanel>
		</h:form>
	</p:dialog>
</ui:composition>		